package io.renren.modules.subject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.meta.entity.EventEntity;
import io.renren.modules.subject.entity.PenaltyPersons;

import java.util.List;
import java.util.Map;

/**
 * 处罚涉案人员表
 *
 * @author linyuan
 * @email linyuan@gmail.com
 * @date 2023-08-17 04:27:51
 */
public interface PenaltyPersonsService extends IService<PenaltyPersons> {

    PageUtils queryPage(Map<String, Object> params);

    List<EventEntity> selectEventsBySubjectId(Long subjectId);
    int insertSubjectEvent(Long subjectId, Long enventId);
}

